package com.zzyl.task;

import com.zzyl.mapper.CustomerReservationMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class ScheduledTasks {
    @Autowired
    private CustomerReservationMapper customerReservationMapper;
    @Scheduled(cron = "0 1/30 * * * ? ")
    public void reportCurrentTime() {
//        customerReservationMapper.cancel();
    }
}
